package com.hdax.dm.mapstucts;

import com.hdax.dm.beans.base.area;
import com.hdax.dm.beans.base.image;
import com.hdax.dm.dto.CarouseDto;
import com.hdax.dm.dto.areaDto;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

import java.util.List;

@Mapper(componentModel = "Spring")
public abstract class areaDtoMapper {

    public abstract areaDto toTarget(area source);

    public abstract List<areaDto> toTargetList(List<area> sources);
}
